package net.ericaro.neojavagen.blocks;

/**
 * <b>CaseEnumConstantName</b> ::= "case" <{@link net .ericaro .neojavagen .blocks .EnumConstantName EnumConstantName}> ":"
 * 
 * @author eric@ericaro.net
 */
public class CaseEnumConstantName extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.blocks.EnumConstantName enumConstantName;

	public CaseEnumConstantName(net.ericaro.neojavagen.blocks.EnumConstantName enumConstantName) {
		super();
		this.enumConstantName = enumConstantName;
	}

	public net.ericaro.neojavagen.blocks.EnumConstantName getEnumConstantName() {
		return enumConstantName;
	}

	public void setEnumConstantName(net.ericaro.neojavagen.blocks.EnumConstantName enumConstantName) {
		this.enumConstantName = enumConstantName;
	}

	@Override
	public java.lang.String toString() {
		return print("case", enumConstantName, ":");
	}
}
